package student;

import java.io.Serializable;

public class NewsUser implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long stuno;
	private String pass;
	private String sname;

	public NewsUser(long stuno, String pass) {
		this.stuno = stuno;
		this.pass = pass;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public NewsUser() {

	}

	public long getStuno() {
		return stuno;
	}

	public void setStuno(long stuno) {
		this.stuno = stuno;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	@Override
	public String toString() {
		return "NewsUser [stuno=" + stuno + ", pass=" + pass + "]";
	}

}
